package com.amigo.online.provider.common;

public class ConstantValue {

    /**
     *
     */
    public static final String SOURCE_REDIS = "redis";

    /**
     *
     */
    public static final String SOURCE_SOLR = "solr";

    /**
     *
     */
    public static final String SOURCE_MONGO = "mongo";

    /**
     *
     */
    public static final String VIDEO_TBL = "video_tbl";  //视频表

    /**
     *
     */
    public static final String USER_TBL = "user_tbl";    //用户表

    /**
     *
     */
    public static final String MUSIC_TBL = "music_tbl";  //音乐表

    /**
     *
     */
    public static final String TBL_UPDATE = "update";    //更新操作

    /**
     *
     */
    public static final String TBL_INSERT = "insert";    //插入操作

    /**
     *
     */
    public static final String TBL_DELETE = "delete";    //删除操作

    /**
     *
     */
    public static final String VIDEO_MONGO = "videoEntity";  //mongo 视频 doc

    /**
     *
     */
    public static final String USER_MONGO = "userEntity";    //mongo 用户  doc


    /**
     *
     */
    public static final String VIDEO_SOLR = "video";

    /**
     *
     */
    public static final String USER_SOLR = "user";

    /**
     *
     */
    public static final String MUSIC_SOLR = "music";

    /**
     *
     */
    public static final String HOTWORD_SOLR = "hotword";

    /**
     * solr 异步数据 失败日志的kafka topic
     */
    public static final String KAFKA_SOLR_FAIL_LOG = "solrFailLog";

    /**
     * redis 异步数据 失败日志的kafka topic
     */
    public static final String KAFKA_REDIS_FAIL_LOG = "redisFailLog";

    /**
     * mongo 异步数据 失败日志的kafka topic
     */
    public static final String KAFKA_MONGO_FAIL_LOG = "mongoFailLog";


    public static final int RANDOM_COMPARSION_NUMBER = 10;

}
